package com.ithuaxin.objectoriented;

public class GirlFriendTest {
    public static void main(String[] args) {
        GirlFriend g1 = new GirlFriend();
        g1.setAge(20);
        System.out.println("女朋友的年龄是："+ g1.getAge());
        g1.setName("矦嘉仪");
        System.out.println("女朋友的名字是："+ g1.getName());
        g1.sleep();
    }
}
